package com.example.demo.dao;

import com.example.demo.entity.CourseCatBean;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CourseCatDao {
    Integer add(CourseCatBean courseCatBean);
    Integer update(CourseCatBean courseCatBean);
    Integer delete(Integer id);
    CourseCatBean getOneById(Integer id);
    List<CourseCatBean> list(String name, String sortOrder);
    Integer count(String name);
} 